package com.zyg.cart.client.impl;

import com.zyg.cart.client.ManagerClient;
import com.zyg.cart.entity.ItemEntity;
import com.zyg.common.utils.R;
import org.springframework.stereotype.Component;

@Component
public class ManagerClientImpl implements ManagerClient {
    @Override
    public R info(Long id) {
        System.out.println("manager服务找不到。");
        return R.error().put("msg","manager服务暂停使用。");
    }

    public ItemEntity findById(Long id){
        return null;
    }
}
